package edu.tostronger.scu.implement;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.tostronger.scu.entity.User;
import edu.tostronger.scu.mapper.UserMapper;
import edu.tostronger.scu.service.UserService;

@Service
public class UserImplement implements UserService {

	@Autowired
	UserMapper userMapper;
	
	@Override
	public User getUser(String id) {
		
		User user=new User();
		user=userMapper.getUserById("2014141008");
		return user;
	}
	
	
}
